# 分组展示字段，分三块：基础信息、第一轮面试记录、第二轮面试（复试）、HR复试
default_fieldsets = (
    (None, {'fields': (
        "user_id", ("username", "city", "phone"), ("gender", "candidate_remark"),
        ("email", "apply_position", "born_address"), ("bachelor_school", "master_school", "doctor_school"),
        ("major", "degree"), ("test_score_of_general_ability", "paper_score"), "last_editor"
    )}),
    ('第一轮面试记录', {'fields': (
        ("first_score", "first_learning_ability", "first_professional_competency"), "first_advantage",
        "first_disadvantage", "first_result", "first_recommend_position", "first_interviewer_user", "first_remark"
    )}),
    ('第二轮复试记录', {'fields': (
        ("second_score", "second_learning_ability", "second_professional_competency"),
        "second_pursue_of_excellence",
        "second_communication_ability", "second_pressure_score", "second_advantage", "second_disadvantage",
        "second_result", "second_recommend_position", "second_interviewer_user", "second_remark"
    )}),
    ('HR复试记录', {'fields': (
        "hr_score", ("hr_responsibility", "hr_communication_ability", "hr_logic_ability"),
        ("hr_potential", "hr_stability"), "hr_advantage", "hr_disadvantage", "hr_result", "hr_interviewer_user",
        "hr_remark"
    )})
)

default_fieldsets_first = (
    (None, {'fields': (
        "user_id", ("username", "city", "phone"), ("gender", "candidate_remark"),
        ("email", "apply_position", "born_address"), ("bachelor_school", "master_school", "doctor_school"),
        ("major", "degree"), ("test_score_of_general_ability", "paper_score"), "last_editor"
    )}),
    ('第一轮面试记录', {'fields': (
        ("first_score", "first_learning_ability", "first_professional_competency"), "first_advantage",
        "first_disadvantage", "first_result", "first_recommend_position", "first_interviewer_user", "first_remark"
    )})
)

default_fieldsets_second = (
    (None, {'fields': (
        "user_id", ("username", "city", "phone"), ("gender", "candidate_remark"),
        ("email", "apply_position", "born_address"), ("bachelor_school", "master_school", "doctor_school"),
        ("major", "degree"), ("test_score_of_general_ability", "paper_score"), "last_editor"
    )}),
    ('第一轮面试记录', {'fields': (
        ("first_score", "first_learning_ability", "first_professional_competency"), "first_advantage",
        "first_disadvantage", "first_result", "first_recommend_position", "first_interviewer_user", "first_remark"
    )}),
    ('第二轮复试记录', {'fields': (
        ("second_score", "second_learning_ability", "second_professional_competency"),
        "second_pursue_of_excellence",
        "second_communication_ability", "second_pressure_score", "second_advantage", "second_disadvantage",
        "second_result", "second_recommend_position", "second_interviewer_user", "second_remark"
    )})
)
